/*
 * @Descripttion: 
 * @Author: yuxi
 * @Date: 2023-01-18 08:35:36
 * @LastEditors: yuxi
 * @LastEditTime: 2023-02-03 14:27:20
 */
/**
 * @module mingmap/Config/DefaultStyle
 */
import marker from '@/assets/images/marker.png'
import light from '@/assets/images/light.png'
const modifyStyle = {
  stroke: {
    color: '#0000ff',
    lineDash: [4],
    width: 3,
    lineCap: 'butt',  
    lineJoin: 'bevel',
    miterLimit: 10,
    lineDashOffset: 0
  },
  fill: {
    color: 'rgba(0, 0, 255, 0.1)',
  },
  image: {
    // is icon
    opacity: 1,
    anchor: [0.5, 1],
    anchorXUnits: 'fraction',
    anchorYUnits: 'fraction',
    src: marker,
    offset: [0,0],
    offsetOrigin: 'top-left',
    scale: 1
  }
}
export default modifyStyle
export const Icons = [
  {
    name: 'Marker',
    src: marker
  },
  {
    name: 'Light',
    src: light
  }
]